<%@page import="biz.impl.NewsBizImpl"%>
<%@page import="biz.NewsBiz"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String _id = request.getParameter("id");
	NewsBiz biz = new NewsBizImpl();
	int id = Integer.parseInt(_id);
	if(biz.deleteNews(id)){
		response.sendRedirect("admin.jsp");
	}else{
		request.setAttribute("msg", "删除失败！");
		request.getRequestDispatcher("admin.jsp").forward(request, response);
	}
	


%>